package com.longcai.entity.nearby;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 附近商品规格表
 * </p>
 *
 * @author kh
 * @since 2019-04-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ClyjNearbyShopsGoodsSpec implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 规格Id
     */
    private String specId;
    /**
     * 商品id(附近)
     */
    private String goodsId;
    /**
     * 规格明细
     */
    private String specDetail;
    /**
     * 库存
     */
    private Integer specStock;
    /**
     * 原价
     */
    private BigDecimal specOriginalPrice;
    /**
     * 售价
     */
    private BigDecimal specPresentPrice;
    /**
     * 佣金
     */
    private BigDecimal specCommission;
    /**
     * 排序
     */
    private String specSort;
    /**
     * 比例（与零钱互斥）--为设置零钱预留
     */
    private BigDecimal specScale;
    /**
     * 零钱
     */
    private BigDecimal specSmallChange;
    /**
     * 库存警告值
     */
    private Integer spceStockWarn;
    /**
     * 销量
     */
    private Integer spceSales;
    /**
     * 商品名称
     */
    @TableField(exist = false)
    private String goodsName;

}
